package com.cloud.cloudfeign.service;

import com.cloud.cloudfeign.service.safelavel.FeignTestServiceLow;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Aurher: QiaoHang
 * @Description:
 * @Data: 2019/9/16 15:03
 * @Modified By:
 */
@FeignClient(serviceId="CLOUD-ZUUL",fallback= FeignTestServiceLow.class)
public interface FeignTestService {

    @RequestMapping("/hi")
    public String hiZuul();
}
